home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / include / dixfont.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-02-15  |  1.7 KB  |  41 lines

  1. /* $XConsortium: dixfont.h,v 1.2 88/09/06 15:48:30 jim Exp $ */
  2. /***********************************************************
  3. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  4. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  5.  
  6.                         All Rights Reserved
  7.  
  8. Permission to use, copy, modify, and distribute this software and its 
  9. documentation for any purpose and without fee is hereby granted, 
  10. provided that the above copyright notice appear in all copies and that
  11. both that copyright notice and this permission notice appear in 
  12. supporting documentation, and that the names of Digital or MIT not be
  13. used in advertising or publicity pertaining to distribution of the
  14. software without specific, written prior permission.  
  15.  
  16. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  17. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  18. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  19. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  20. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  21. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  22. SOFTWARE.
  23.  
  24. ******************************************************************/
  25. #ifndef DIXFONT_H
  26. #define DIXFONT_H 1
  27. #define NullDIXFontProp ((DIXFontPropPtr)0)
  28. #define NullFont ((FontPtr)0)
  29.  
  30. typedef struct _DIXFontProp *DIXFontPropPtr;
  31. typedef struct _Font *FontPtr;
  32. /*
  33.  * this type is for people who want to talk about the font encoding
  34.  */
  35.  
  36. typedef enum {Linear8Bit, TwoD8Bit, Linear16Bit, TwoD16Bit} FontEncoding;
  37. typedef struct _FontData *FontDataPtr;
  38.  
  39. extern FontPtr OpenFont();
  40. #endif /* DIXFONT_H */
  41.